﻿using Common.Communication;
using Common.Device.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Device.Interfaces
{
    public interface IShiBoQi:IDevice
    {
        /// <summary>
        /// 采集峰峰值
        /// </summary>
        /// <param name="channel">通道</param>
        /// <param name="time">时基挡位</param>
        /// <param name="vol">电压挡位</param>
        /// <param name="coupling">耦合方式</param>
        /// <param name="bwLimit">带宽限制</param>
        /// <param name="waitTime">等待时间</param>
        /// <returns></returns>
        Result<double> GetVpp(int channel, ShiBoQiEnum.TimeDiv time, ShiBoQiEnum.VolDiv vol, ShiBoQiEnum.Coup coupling, ShiBoQiEnum.Limit bwLimit,int waitTime);
    }
}
